import axios from 'axios';
axios.defaults.baseURL = 'http://122.112.161.135:8000';
class Http {
  static request({ method = 'get', url, data = {} }) {
    return axios({
      method,
      url,
      data,
    });
  }
}
export default Http;
